package com.ruoyi.system.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 定时发送消息记录对象 t_regular_msg_send
 * 
 * @author DEREK
 * @date 2024-03-02
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_regular_msg_send")
public class RegularMsgSend
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 环信ID */
    @Excel(name = "环信ID")
    private String emUsername;

    /** 天数 */
    @Excel(name = "天数")
    private Integer timeDay;

    /** 小时数 */
    @Excel(name = "小时数")
    private Integer timeHour;

    /** 分钟数 */
    @Excel(name = "分钟数")
    private Integer timeMinute;
    
    private Integer timeSecond;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String content;

    /** 是否启用 0=否 1=是 */
    @Excel(name = "是否启用 0=否 1=是")
    private Integer isEnabled;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String extend;

    private Date createTime;
    private Date updateTime;
    private String sex;
    
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("nickName", getNickName())
            .append("emUsername", getEmUsername())
            .append("timeDay", getTimeDay())
            .append("timeHour", getTimeHour())
            .append("timeMinute", getTimeMinute())
            .append("content", getContent())
            .append("isEnabled", getIsEnabled())
            .append("extend", getExtend())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
